package models

// WkbGroup 群聊
type WkbImCustomerService struct {
	Model
	UId                int    `gorm:"unique;column:uid;type:int(10);not null" json:"uid"`      //
	RealName           string `gorm:"column:real_name" json:"real_name"`                       //
	Nickname           string `gorm:"column:nickname" json:"nickname"`                         //
	IsManage           int    `gorm:"column:is_manage;type:tinyint(2)" json:"is_manage"`       //
	IsOnline           int    `gorm:"column:is_online;type:tinyint(2)" json:"is_online"`       //
	SeeCustomerService int    `gorm:"column:see_customer_service" json:"see_customer_service"` //查看其他客服权限:1=可见管理员,2=可见同技能组,3=所有可见
	SeeCustomer        int    `gorm:"column:see_customer" json:"see_customer"`                 //查看用户权限:1=有,2=否
	ReceptionNum       int    `gorm:"column:reception_num" json:"reception_num"`               //接待数
	Deleted            int    `gorm:"column:deleted" json:"deleted"`                           // 是否删除:1=是，2=否
}

func (w *WkbImCustomerService) TableName() string {
	return "wkb_im_customer_service"
}
